/* 涨停股页面样式 */
.query-status {
    margin-bottom: 20px;
}

.zhangting-container {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    overflow-x: auto;
    margin-bottom: 20px;
}

.zhangting-container {
    min-width: 1400px; /* 确保表格有足够的最小宽度 */
}

@media (max-width: 1600px) {
    .zhangting-container {
        min-width: 1200px;
    }
}

.zhangting-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.zhangting-table th,
.zhangting-table td {
    border: 1px solid #ebeef5;
    padding: 12px;
    text-align: center;
    vertical-align: middle;
}

.zhangting-table th {
    background-color: #f5f7fa;
    font-weight: bold;
    color: #606266;
}

.zhangting-table td {
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 200px;
}

.zhangting-table .reason-cell {
    max-width: 150px;
    white-space: normal;
    word-wrap: break-word;
    line-height: 1.4;
}

.zhangting-table tbody tr:hover > td {
    background-color: #f0f9ff !important;
}

.zhangting-table .selected-row {
    background-color: #fff2f0 !important;
    border: 2px solid #ff7875;
}

.zhangting-table .selected-row:hover > td {
    background-color: #ffebe8 !important;
}

/* 特殊单元格样式 */
.zhangting-table .stock-name {
    font-weight: bold;
    color: #303133;
    text-align: left;
}

.zhangting-table .price {
    color: #f56c6c;
    font-weight: bold;
}

.zhangting-table .percent {
    font-weight: bold;
}

.zhangting-table .reason {
    text-align: left;
    max-width: 200px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* 搜索框样式 */
.el-input {
    margin-right: 10px;
}

/* 股票详情面板 */
.stock-detail-panel {
    margin-top: 20px;
    padding: 20px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border: 2px solid #e8f4fd;
}

.panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #ebeef5;
}

.panel-header h3 {
    color: #2c3e50;
    margin: 0;
    font-size: 18px;
    font-weight: 600;
}

.panel-header .close-btn {
    border: none;
    background: none;
    font-size: 18px;
    cursor: pointer;
    color: #909399;
    padding: 5px;
}

.panel-header .close-btn:hover {
    color: #f56c6c;
}

.detail-content {
    margin-top: 15px;
}

.stat-title {
    color: #606266;
    font-size: 14px;
    margin-bottom: 8px;
}

.stat-value {
    color: #2c3e50;
    font-size: 24px;
    font-weight: bold;
}

.reason-text {
    color: #606266;
    font-size: 14px;
    line-height: 1.6;
    margin-top: 10px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .zhangting-table {
        font-size: 12px;
    }
    
    .zhangting-table th,
    .zhangting-table td {
        padding: 8px 6px;
        min-width: 60px;
    }
    
    .zhangting-table .reason {
        max-width: 100px;
    }
    
    .stat-value {
        font-size: 18px;
    }
}

/* 统计信息面板样式 */
.statistics-panel {
    background: white;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.statistics-panel h3 {
    color: #2c3e50;
    margin: 0 0 20px 0;
    font-size: 18px;
    font-weight: 600;
    border-bottom: 1px solid #ebeef5;
    padding-bottom: 10px;
}

.statistics-panel .stat-card {
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #ebeef5;
}

.statistics-panel .stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.statistics-panel .stat-title {
    color: #606266;
    font-size: 14px;
    margin-bottom: 8px;
    font-weight: 500;
}

.statistics-panel .stat-value {
    color: #2c3e50;
    font-size: 20px;
    font-weight: bold;
}